package com.colorlight.cloud.complete.entity.po;

import com.colorlight.cloud.gateway.api.message.constraint.basics.object.Trans;
import com.colorlight.iot.proto.complete.entity.CompleteEntity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class Im9FunctionInfo implements Trans<Im9FunctionInfo, CompleteEntity.Im9FunctionInfo> {

    /**
     * 网口号
     */
    private Integer portIndex;

    /**
     * 状态
     */
    private Integer status;

    /**
     * 传感器数据
     */
    private List<SensorItem> sensorItem;

    /**
     * 型号
     */
    private String model;

    /**
     * 版本
     */
    private String version;

    /**
     * 继电器j9-j12开关（大屏电源，只能同时开或者关）
     */
    private Integer power;

    /**
     * 多功能卡序号
     */
    private Integer functionIndex;

    /**
     * 继电器信息j9-j16
     */
    private List<RelayItem> relayItem;

    /**
     * 自动控制信息
     */
    private List<RelayCondition> condition;

    /**
     * 定时控制信息
     */
    private List<RelayTimingParam> timingParam;

    /**
     * 风扇状态
     */
    private List<FanStatusItem> fanStatusItem;

    /**
     * 时间
     */
    private FunctionTime functionTime;
}
